import React from 'react';
import * as PropTypes from 'prop-types';
import styles from './style/index.less';

class AnalysisTitle extends React.Component {
  static defaultProps = {
    title: '业务分析'
  }

  render() {
    const { title, style } = this.props;

    return (
      <div className={`${styles.Title}`} style={{style}}>
        {title}
      </div>
    );
  }
}

AnalysisTitle.propTypes = {
  title: PropTypes.string
}

export default AnalysisTitle;